import React from 'react'

class Handler extends React.Component {
  handleClick() {
    console.log('我很好~~~~')
  }
  render() {
    return (
      <div>
        <div>我是类组件</div>
        <button onClick={this.handleClick}>点击</button>
      </div>
    )
  }
}

export default Handler